package com.blacktea.behavioralpatterns.statepattern;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @description:  关闭电梯状态类
 * @author: black tea
 * @date: 2023/3/26 15:25
 */
@Slf4j
@Component
public class CloseState implements ElevatorState {

    @Override
    public void closeDoor() {
        log.info("电梯门已经关闭了，无需再次关闭！");
    }
}
